package com.nptever.webcamera.impl.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;

/**
 * @author ZhangKai
 * @version 1.0
 * @decription
 * @date 2018/11/20 16:58
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Multicast {


    @XmlElement
    private String TTL = "64";

    @XmlElement
    private String AutoStart = "true";

    @XmlElement
    private String Port = "1000";

    @XmlElements(
            @XmlElement(name = "Address", type = Address.class)
    )
    private Address address;

    public void setTTL(String TTL) {
        this.TTL = TTL;
    }

    public void setAutoStart(String autoStart) {
        AutoStart = autoStart;
    }

    public void setPort(String port) {
        Port = port;
    }

    public void setAddress(Address address) {
        this.address = address;
    }
}
